package com.sky.mapper;

import com.sky.entity.SetmealDish;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SetmealDishMapper {
    Integer getSetmealIdsByDishIds(List<Long> ids);

    List<SetmealDish> getSetmealDishBySetmealId(Long setmealId);


    void saveBatch(List<SetmealDish> setmealDishes);

    void deleteBySetmealId(Long id);

    void batchDeleteBySetmeal(List<Long> ids);
}
